<?php
declare(strict_types=1);
namespace SixShop\TencentCloudSms\Controller;
use SixShop\TencentCloudSms\Config;
use think\Response;
use function SixShop\Core\success_response;

class IndexController
{
    /**
     * 获取模板列表
     */
    public function template(Config $config): Response
    {
        return success_response($config->tencent_sms_templates);
    }
}